package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工资对象 salary
 *
 * @author ruoyi
 * @date 2023-10-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Salary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private String eno;

    private String name;
    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 基本工资(元) */
    @Excel(name = "基本工资(元)")
    private BigDecimal baseWages;

    /** 奖金(元) */
    @Excel(name = "奖金(元)")
    private BigDecimal bonus;

    /** 事假 */
    @Excel(name = "事假")
    private Integer absence;

    /** 事假扣款(元) */
    @Excel(name = "事假扣款(元)")
    private BigDecimal adsenceFine;

    /** 加班时长(小时) */
    @Excel(name = "加班时长(小时)")
    private Integer overwork;

    /** 加班工资(元) */
    @Excel(name = "加班工资(元)", width = 30, dateFormat = "yyyy-MM-dd")
    private BigDecimal overworkWages;

    /** 社保费用(元) */
    @Excel(name = "社保费用(元)")
    private BigDecimal social;

    /** 实发工资(元) */
    @Excel(name = "实发工资(元)")
    private BigDecimal realWages;

    /** 备注 */
    @Excel(name = "备注")
    private String common;

    private Emplyee emplyee;

    private Date dateMonth;

}
